
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.MedicineStorage;
import cn.edu.scau.cmi.hombio.domain.MedicineSupplier;
import cn.edu.scau.cmi.hombio.domain.Supplier;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Supplier entities
 * 
 */
public interface SupplierService {

	/**
	* Save an existing MedicineSupplier entity
	* 
	 */
	public Supplier saveSupplierMedicineSuppliers(Integer id, MedicineSupplier related_medicinesuppliers);

	/**
	 */
	public Supplier findSupplierByPrimaryKey(Integer id_1);

	/**
	* Return a count of all Supplier entity
	* 
	 */
	public Integer countSuppliers();

	/**
	* Delete an existing MedicineSupplier entity
	* 
	 */
	public Supplier deleteSupplierMedicineSuppliers(Integer supplier_id, Integer related_medicinesuppliers_id);

	/**
	* Save an existing Supplier entity
	* 
	 */
	public void saveSupplier(Supplier supplier);

	/**
	* Delete an existing MedicineStorage entity
	* 
	 */
	public Supplier deleteSupplierMedicineStorages(Integer supplier_id_1, Integer related_medicinestorages_id);

	/**
	* Delete an existing Supplier entity
	* 
	 */
	public void deleteSupplier(Supplier supplier_1);

	/**
	* Load an existing Supplier entity
	* 
	 */
	public Set<Supplier> loadSuppliers();

	/**
	* Return all Supplier entity
	* 
	 */
	public List<Supplier> findAllSuppliers(Integer startResult, Integer maxRows);

	/**
	* Save an existing MedicineStorage entity
	* 
	 */
	public Supplier saveSupplierMedicineStorages(Integer id_2, MedicineStorage related_medicinestorages);
}